@ECHO OFF

IF EXIST "C:\Program Files\Microsoft Visual Studio 11.0\VC\" CALL "C:\Program Files\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86
IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\" CALL "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86

CALL "Clean Build Output.bat" Debug

MSBuild "Build Project\ACOM Director.vbproj" /t:Clean;Rebuild /p:Configuration="Debug" /l:FileLogger,Microsoft.Build.Engine;logfile="Logs\Build Debug.log";verbosity=diagnostic

Pause